<template>
  <div>
    <div>请求二：{{ content }}</div>
  </div>
</template>

<script>
export default {
  name: "AsycTwo",
  components: {},
  data() {
    return {
      content: "",
    };
  },
  created() {
    this.handleContent();
  },
  methods: {
    handleContent() {
      this.$emit("handleTips", 1, "no");
      setTimeout(() => {
        this.content = "这里是内容二";
        this.$emit("handleTips", 1, "yes");
      }, 2000);
    },
  },
};
</script>
<style lang="less" scoped></style>
